projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f733fa8
)
Inspector backend hack
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 24 Oct 2014 22:00:19 +0000
(18:00 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 25 Oct 2014 14:33:22 +0000
(10:33 -0400)
gtk/inspector/window.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/window.c
b/gtk/inspector/window.c
index da54753ae7543d911ccbdd5df20d00075c81debc..ea4bb96ccd4cf7e8be425fb3db966f70e2145337 100644
(file)
--- a/
gtk/inspector/window.c
+++ b/
gtk/inspector/window.c
@@
-209,6
+209,12
@@
get_inspector_screen (void)
if (display == NULL)
{
const gchar *name;
+ const gchar *backends;
+
+ backends = g_getenv ("GTK_INSPECTOR_BACKEND");
+
+ if (backends)
+ gdk_set_allowed_backends (backends);
name = g_getenv ("GTK_INSPECTOR_DISPLAY");
display = gdk_display_open (name);